provider Environments GET /api/0/organizations/{organization_id_or_slug}/environments/
@utdk/sentry /api/0/organizations/{organization_id_or_slug}/environments/
List an Organization's Environments
Lists an organization's environments.
organization_id_or_slug path required
The ID or slug of the organization the resource belongs to.
string
visibility query
The visibility of the environments to filter by. Defaults to `visible`.
enum: all, hidden, visible

Try it

Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

listAnOrganizationSEnvironments
GET/api/0/organizations/{organization_id_or_slug}/environments/
Lists an organization's environments.

Parameters

required

The ID or slug of the organization the resource belongs to.

The visibility of the environments to filter by. Defaults to `visible`.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sentry from '@utdk/sentry';

await sentry.listAnOrganizationSEnvironments()